package com.cos.lession71;

import com.cos.lession71.slice.ComListenerAbilitySlice;
import com.cos.lession71.slice.MainAbilitySlice;
import com.cos.lession71.slice.NewPageAbilitySlice;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;

public class MainAbility extends Ability {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
//        super.setMainRoute(MainAbilitySlice.class.getName());
//        super.setMainRoute(NewPageAbilitySlice.class.getName());
        super.setMainRoute(ComListenerAbilitySlice.class.getName());
    }
}
